<?php

namespace App\Http\Controllers;

use App\Models\CostaNews;

use App\Jobs\Queue;
use Illuminate\Http\Request;


class FactoryController extends Controller
{

    /**
     * 文章填充数据队列生产者，消息发送方
     */
    public function article()
    {
        $arr=array(
            'time'=>time()
        );
        $this->dispatch(new Queue($arr));
    }
}
